﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BonjourHotel.Model;

namespace BonjourHotel.Core.Countries
{
    public class CountryFacade : FacadeBase<BonjourHotel.Model.Country>
    {
        public List<Country> GetAllCountries()
        {
            var Countries = from country in base.ObjectContext.Countries
                            orderby country.Name
                            select country;

            return Countries.ToList();
        }
    }
}
